Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log: Introduce log crate #339

Merged
merged 3 commits into from
Jul 7, 2024
Merged

Conversation

retrage
Copy link
Contributor

@retrage retrage commented Jul 5, 2024

RHF has a simple log!() macro with a serial backend for logging, but it lacks a logging level feature for better tracing. This PR proposes to add the log crate and introduce logging level. This will change the output format with a logging level prefix like [INFO].

retrage added 3 commits July 5, 2024 23:24
Signed-off-by: Akira Moroo <retrage01@gmail.com>
Signed-off-by: Akira Moroo <retrage01@gmail.com>
Signed-off-by: Akira Moroo <retrage01@gmail.com>
@retrage retrage requested a review from rbradford July 5, 2024 23:48
Copy link
Member

@rbradford rbradford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks @retrage !

@retrage retrage added this pull request to the merge queue Jul 7, 2024
Merged via the queue into cloud-hypervisor:main with commit e0faf1c Jul 7, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants